//
//  YXImageCache.h
//  YXImageBrowserDemo
//
//  Created by guo peng huang on 2021/5/18.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class YXImageCache;
@interface NSObject (YXImageCache)

/// 图片浏览器持有的图片缓存管理类
@property (nonatomic, strong, readonly) YXImageCache *yx_imageCache;

@end

@interface YXImageCache : NSObject

/// 缓存数量限制（一个单位表示一个 YXImageData 产生的所有图片数据）
@property (nonatomic, assign) NSUInteger yx_imageCacheCountLimit;

@end

NS_ASSUME_NONNULL_END
